
<?php


/* @var $this MatchController */
/* @var $dataProvider CActiveDataProvider */


$this->widget('zii.widgets.grid.CGridView', array(

		'dataProvider'=>$model->getVotes(),
		'cssFile'=>Yii::app()->request->baseUrl.'/css/cgridview.css',
		'columns'=>array(
				array(
						'header'=>Yii::t("isml_statistics","rank"),
						'value'=>'$this->grid->dataProvider->getPagination()->getOffset()+($row+1)',
						'htmlOptions'=>array('width'=>'80px'),
				),
				
				array(
						'header'=>Yii::t("isml_statistics","name"),
						'name'=>'NAME',
						'value'=>'Yii::t("isml_name",$data->NAME)',
						'htmlOptions'=>array('width'=>'80px'),
				),
				
				array(
						'header'=>Yii::t("isml_statistics","vote"),
						'name'=>'SUM_VOTES',
						'value'=>'$data->SUM_VOTES',
						'htmlOptions'=>array('width'=>'80px'),
				),
				

		)

));
?>